﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using Hello.Models;


namespace Hello.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/


        public ActionResult Index()
        {
            int date = DateTime.Now.Hour;
            ViewData["greeting"] = (date < 12 ? "Morning" : "Afternoon");
            return View();
           // return "I love Inna!!!";
        }

    [AcceptVerbs (HttpVerbs.Get)]
        public ViewResult Form()
        {

            return View();
        }

    /*[AcceptVerbs(HttpVerbs.Get)]
    public ViewResult Form(Guests guest)
    {

        return View("Thanks", guest);
    }*/

    }
}
